<?php
$aksi = $_GET['aksi'];	
$tipe = $_GET['kolom_cari'];

if($aksi=="cari1"){
	if(strtoupper($tipe)=="ACTIVE"){
		$content .= "<select name=\"text_cari\" id=\"text_cari\">";
		$content .= "<option value=\"Y\">Ya</option>";
		$content .= "<option value=\"N\">Tidak</option>";
		$content .= "</select>";
		$content .= "<input type=\"hidden\" name=\"tipe\" value=\"0\">";
	}else{
		$content .= "<input type=\"text\" name=\"text_cari\" id=\"text_cari\" />&nbsp;";
		$content .= "<input type=\"hidden\" name=\"tipe\" value=\"0\">";
	}
}
if($aksi=="chgFile"){
	$content .= "<input type=\"file\" name=\"Picture\" id=\"Picture\" size=\"30\" >";
}
if($aksi=="CancelchgFile"){
	if(strtoupper($_GET["folder"])=="PRODUK"){
		$content = "<img src=\"../Picture/".$_GET["folder"]."/".$_GET["logo"]."\" width=\"90px\" height=\"95px\"/>";
	}else{
		$content = "<img src=\"../Picture/".$_GET["folder"]."/".$_GET["logo"]."\" width=\"109px\" height=\"39px\"/>";
	}
	$content .="<input type=\"hidden\" name=\"Picture\" id=\"Picture\" value=\"".$_GET["logo"]."\"/>";	
}
print $content;		
?>